<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" 
%><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" 
%><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" 
%><%@ page contentType="text/html;charset=ISO-8859-1"
%><html:html locale="true">
    <head>
        <title><bean:message key="usuarioCoordinacionCrear.title"/></title>
        <script>
             function tipoUsuario(){
                document.getElementById("tipoUsuario").selectedIndex = ${tipoUsuario};
            }
        </script>
        <html:base/>
        <link rel="stylesheet" type="text/css" href="../css/style.css"></link>
<style type="text/css">
div#box31195 {width: 400px; margin: 40px auto; }
form#31195 {float: left; margin: 0; padding: 0; display: inline; width: 400px; }
form#31195 p {float: left; margin: 0; padding: 0; display: inline; }
form#31195 label {float: left; margin: 0; padding: 0; display: inline; overflow: hidden; }
form#31195 input {float: left; margin: 0; padding: 0; display: inline; }
  form#31195 p#31198_C {clear: both; width: 400px; }
  form#31195 p#31198_C label {clear: both; width: 400px; }
  form#31195 p#31198_C input {clear: both; width: 396px; }
  form#31195 p#31196_C {clear: both; width: 400px; }
  form#31195 p#31196_C label {clear: both; width: 400px; }
  form#31195 p#31196_C input {clear: both; width: 396px; }
  form#31195 p#31201_C {clear: both; width: 400px; }
  form#31195 p#31201_C label {clear: both; width: 400px; }
  form#31195 p#31201_C input {clear: both; width: 396px; }
  form#31195 p#31200_C {clear: both; width: 400px; }
  form#31195 p#31200_C label {clear: both; width: 400px; }
  form#31195 p#31200_C input {clear: both; width: 396px; }
  form#31195 p#31199_C {clear: both; width: 400px; }
  form#31195 p#31199_C label {clear: both; width: 400px; }
  form#31195 p#31199_C input {clear: both; width: 396px; }
  form#31195 p#31197_C {clear: both; width: 400px; }
  form#31195 p#31197_C label {clear: both; width: 400px; }
  form#31195 p#31197_C input {clear: both; width: 396px; }

</style>
    </head>
    <body onload="tipoUsuario()">
        <div id="header">
            <div id="title"><bean:message key="usuarioCoordinacionCrear.title"/></div>
            <div id="menu">
                <ul id="nav">
                    <li><html:link action="/CoordinacionI.do" paramId="idCoordinacion" paramName="idCoordinacion"><bean:message key="usuarioCoordinacionCrear.label1"/></html:link></li>
                </ul>
            </div>
        </div>
        <div id="body_wrapper">
            <div id="body">
                <div id="split">
                    <div class="top"></div>
                    <div id="left">
                        <div class="content">
                            ${empty msg ? "" : msg}
                <div class="box31195"><html:form styleId="F31195" action="/UsuarioCrear.do">
                  <html:hidden property="idUsuario"/>
                  
                    <table align="center" border="0">
                        <tr id="31196_C"><td align = "left"><label for="31196"><bean:message key="FUsuario.label1"/></label></td><td align="center"><html:text styleId="31196" property="nombreUsuario" size="30"/></td></tr>
                        <tr id="31201_C"><td align ="left"><label for="31201"><bean:message key="FUsuario.label2"/></label></td><td align="center"><html:password styleId="31201" property="contrasena" size="30"/></td></tr>
                        <html:hidden styleId="31200" property="coordinacion"/>
                        <tr id="31197_C"><td align="left"><bean:message key="FUsuario.label5"/></td>
                            <td align = "center">
                                <select name="tipoUsuario" id="tipoUsuario">
                                    <option value="0">Administrador
                                    <option value="1">Coordinador
                                    <option value="2">Usuario
                                </select>
                            </td>
                        </tr>
                        <tr><td>&nbsp;</td></tr>
                        <tr><td></td><td align="center"><html:submit styleClass="button"><bean:message key="usuarioCoordinacionCrear.label0"/></html:submit>
                    </html:form></td><td></td></tr>
                </table>
                
            </div>
                
                        </div>
                    </div>
                    <div id="right"><jsp:include page="/ppal/menu.jsp" flush="true"/></div>
                    <div class="clearer"></div>
                    <div class="bottom"></div>
                </div>
                <div class="clearer"></div>
            </div>
            <div class="clearer"></div>
        </div>
        <div id="end_body"></div>
        <h3 class="title"></h3>
        <div id="footer"> <bean:message key="bottom.label"/></div>
        
    </body>
</html:html>